package com.engineering.elink.recruitdao;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.engineering.elink.domain.recruit.MajorTopCategory;

public interface MajorTopCategoryMapper {
    int deleteByPrimaryKey(Integer mdcId);

    int insert(MajorTopCategory record);

    int insertSelective(MajorTopCategory record);

    MajorTopCategory selectByPrimaryKey(Integer mdcId);

    int updateByPrimaryKeySelective(MajorTopCategory record);

    int updateByPrimaryKey(MajorTopCategory record);
  
    @Select(" select mdc_id as mdcId, mdc_name as mdcName from major_top_category  ")
    List<MajorTopCategory> selectAll();
}